home *** CD-ROM | disk | FTP | other *** search
- function moveCirc(name, select)
- {
- _root.name = name;
- _root.select = select;
- _root.displayName(name,select);
- subsection = section.substring(0,8);
- if(section == "home" && select == 1)
- {
- section = "system";
- rings.gotoAndPlay("to2from1");
- rings.ring1.ring1.gotoAndStop(system);
- rings.ring2.ring2.gotoAndStop(home);
- rings.ring2.ring2.light.gotoAndStop(2);
- rings.ring2.ring2.light.block._visible = 1;
- ringSound.start();
- }
- else if(section == "home" && select == 2)
- {
- section = "connect";
- rings.gotoAndPlay("to2from1");
- rings.ring1.ring1.gotoAndStop(connect);
- rings.ring2.ring2.gotoAndStop(home);
- rings.ring2.ring2.light.gotoAndStop(3);
- rings.ring2.ring2.light.block._visible = 1;
- ringSound.start();
- }
- else if(section == "home" && select == 3)
- {
- section = "games";
- rings.gotoAndPlay("to2from1");
- rings.ring1.ring1.gotoAndStop(games);
- rings.ring2.ring2.gotoAndStop(home);
- rings.ring2.ring2.light.gotoAndStop(4);
- rings.ring2.ring2.light.block._visible = 1;
- ringSound.start();
- }
- else if(section == "system" && select == 1 && name == "ring1")
- {
- currentgame = 16;
- _root.nextFrame();
- rings.ring1.ring1.light.gotoAndStop(select + 1);
- rings.ring1.ring1.light.block._visible = 0;
- outSound.start();
- }
- else if(section == "system" && select == 2 && name == "ring1")
- {
- currentgame = 17;
- _root.nextFrame();
- rings.ring1.ring1.light.gotoAndStop(select + 1);
- rings.ring1.ring1.light.block._visible = 0;
- outSound.start();
- }
- else if(section == "system" && select == 3 && name == "ring1")
- {
- currentgame = 18;
- _root.nextFrame();
- rings.ring1.ring1.light.gotoAndStop(select + 1);
- rings.ring1.ring1.light.block._visible = 0;
- outSound.start();
- }
- else if(section == "system" && name == "ring2")
- {
- section = "home";
- rings.gotoAndPlay("back1from2");
- rings.ring1.ring1.gotoAndStop(system);
- rings.ring2.ring2.gotoAndStop(home);
- rings.ring2.ring2.light.gotoAndStop(1);
- rings.ring2.ring2.light.block._visible = 0;
- ringSound.start();
- }
- else if(section == "connect" && select == 1 && name == "ring1")
- {
- section = "connectlinks";
- rings.gotoAndPlay("to3from2");
- rings.ring1.ring1.gotoAndStop(connectlinks);
- rings.ring2.ring2.gotoAndStop(connect);
- rings.ring3.ring3.gotoAndStop(home);
- rings.ring2.ring2.light.gotoAndStop(select + 1);
- rings.ring2.ring2.light.block._visible = 1;
- rings.ring3.ring3.light.gotoAndStop(3);
- rings.ring3.ring3.light.block._visible = 1;
- ringSound.start();
- }
- else if(section == "connect" && select == 2 && name == "ring1")
- {
- currentgame = 15;
- _root.nextFrame();
- outSound.start();
- }
- else if(section == "connect" && name == "ring2")
- {
- section = "home";
- rings.gotoAndPlay("back1from2");
- rings.ring1.ring1.gotoAndStop(connect);
- rings.ring2.ring2.gotoAndStop(home);
- rings.ring1.ring1.light.gotoAndStop(0);
- rings.ring1.ring1.light.block._visible = 0;
- rings.ring2.ring2.light.gotoAndStop(select + 1);
- rings.ring2.ring2.light.block._visible = 0;
- ringSound.start();
- }
- else if(section == "connectlinks" && name == "ring1")
- {
- if(_root.browser == "iewin")
- {
- getURL("javascript:void openFullChromeWindow(\'" add eval("_root.connectlink" + select) add "\', \'external\')","");
- }
- else
- {
- getURL("popper.html?url=" && eval("_root.connectlink" + select),"pop");
- }
- rings.ring1.ring1.light.gotoAndStop(select + 1);
- rings.ring1.ring1.light.block._visible = 0;
- _root.currentconnectlink = "_root.connectlink" + select;
- outSound.start();
- }
- else if(section == "connectlinks" && name == "ring2")
- {
- _root.linkscopy = "";
- section = "connect";
- rings.gotoAndPlay("back2from3");
- rings.ring1.ring1.gotoAndStop(connectlinks);
- rings.ring2.ring2.gotoAndStop(connect);
- rings.ring3.ring3.gotoAndStop(home);
- rings.ring1.ring1.light.gotoAndStop(0);
- rings.ring1.ring1.light.block._visible = 0;
- rings.ring2.ring2.light.gotoAndStop(0);
- rings.ring2.ring2.light.block._visible = 0;
- rings.ring3.ring3.light.gotoAndStop(2);
- rings.ring3.ring3.light.block._visible = 1;
- _root.currentconnectlink = "";
- ringSound.start();
- }
- else if(section == "connectlinks" && name == "ring3")
- {
- _root.linkscopy = "";
- section = "home";
- rings.gotoAndPlay("back1from3");
- rings.ring1.ring1.gotoAndStop(connectlinks);
- rings.ring2.ring2.gotoAndStop(connect);
- rings.ring3.ring3.gotoAndStop(home);
- rings.ring1.ring1.light.gotoAndStop(0);
- rings.ring1.ring1.light.block._visible = 0;
- rings.ring2.ring2.light.gotoAndStop(0);
- rings.ring2.ring2.light.block._visible = 0;
- rings.ring3.ring3.light.gotoAndStop(0);
- rings.ring3.ring3.light.block._visible = 0;
- _root.currentconnectlink = "";
- ringSound.start();
- }
- else if(section == "games" && name == "ring1")
- {
- currentgame = select;
- _root.nextFrame();
- outSound.start();
- }
- else if(section == "games" && name == "ring2")
- {
- section = "home";
- rings.gotoAndPlay("back1from2");
- rings.ring1.ring1.gotoAndStop(games);
- rings.ring2.ring2.gotoAndStop(home);
- rings.ring1.ring1.light.gotoAndStop(0);
- rings.ring1.ring1.light.block._visible = 0;
- rings.ring2.ring2.light.gotoAndStop(0);
- rings.ring2.ring2.light.block._visible = 0;
- currentgame = "";
- ringSound.start();
- }
- }
- function displayName(name, select)
- {
- if(_root.menu == "out")
- {
- _root.idiot.gotoAndPlay("hide");
- }
- if(section == "home")
- {
- path = eval("breadhome" + select);
- }
- else if(section == "system")
- {
- path = "system > " + eval("breadsystem" + select);
- if(name == "ring2")
- {
- path = home0;
- }
- }
- else if(section == "connect")
- {
- path = "connect > " + eval("breadconnect" + select);
- if(name == "ring2")
- {
- path = home0;
- }
- }
- else if(section == "connectlinks")
- {
- path = "connect > links > " + eval("breadconnectlinks" + select);
- if(name == "ring2")
- {
- path = home2;
- }
- if(name == "ring3")
- {
- path = home0;
- }
- }
- else if(section == "games")
- {
- path = "games > " + eval("breadgames" + select);
- if(name == "ring2")
- {
- path = home0;
- }
- }
- path = path.toUpperCase();
- }
- function displayPath(name, select)
- {
- overSound.start();
- _root.disp.gotoAndPlay("on");
- if(section == "home")
- {
- namedisp = eval("home" + select);
- }
- else if(section == "system")
- {
- namedisp = eval("system" + select);
- if(name == "ring2")
- {
- namedisp = "go back to\nHome";
- }
- }
- else if(section == "connect")
- {
- namedisp = eval("connect" + select);
- if(name == "ring2")
- {
- namedisp = "go back to\nHome";
- }
- }
- else if(section == "connectlinks")
- {
- namedisp = eval("connectlinks" + select);
- _root.linkscopy = eval("_root.linkscopy" + select);
- if(name == "ring2")
- {
- namedisp = "go back to\nConnect";
- }
- if(name == "ring3")
- {
- namedisp = "go back to\nHome";
- }
- }
- else if(section == "games")
- {
- namedisp = eval("games" + select);
- if(name == "ring2")
- {
- namedisp = "go back to\nHome";
- }
- }
- else if(section == "gameinfo" + currentgame)
- {
- namedisp = eval("gameinfo" + currentgame + select);
- if(name == "ring3")
- {
- namedisp = "go back to\nHome";
- }
- if(name == "ring2")
- {
- namedisp = "go back to\nGames";
- }
- }
- namedisp = namedisp.toUpperCase();
- }
- rings._visible = 1;
- stop();
- ringSound = new Sound();
- ringSound.attachSound("ring");
- outSound = new Sound();
- outSound.attachSound("out");
- overSound = new Sound();
- overSound.attachSound("over");
- ringSound.start();
- outSound.start();
- overSound.start();
-